package org.galaxyworld.flycode;

import org.galaxyworld.flycode.core.Application;
import org.galaxyworld.flycode.gui.MainWindow;
import org.galaxyworld.flycode.jobs.ModelGenerationJob;
import org.galaxyworld.flycode.jobs.ServiceGenerationJob;

import javax.swing.*;

public class Main {

    public static void main(String[] args) {
//        SwingUtilities.invokeLater(() -> {
//            MainWindow mainWindow = new MainWindow();
//            mainWindow.setVisible(true);
//        });

        Application application = Application.getInstance();
        application.addJob(new ModelGenerationJob());
        application.addJob(new ServiceGenerationJob());
        application.startAll();
    }

}
